package com.example.demo.dao;

import com.example.demo.pojo.Table;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @ClassName: TableThree
 * @Description：
 * @Author: wanghr
 * Date: 4:51 PM 2020/2/27
 * Version: 1.0
 */
@Mapper
@Repository
public interface TableThree {
    //插入数据
    Integer add(Table table);

    //插入数据 参数是list
    Integer addList(List<Table> list);

    //删除所有数据
    Integer deleteAll();
}
